local extension = Package:new("wuxing")
extension.extensionName = "wild_collection"
Fk:loadTranslationTable{
  ["wuxing"] = "五行",
  ["wxfire"] = "火",
}
local U = require "packages/utility/utility"
local Est = require "packages/wild_collection/utility"

local zhugeliang = General(extension, "wxfire__zhugeliang", "shu", 4)
local cheyan = fk.CreateActiveSkill{
  name = "wxfire__cheyan",
  anim_type = "offensive",
  card_num = 1,
  target_filter = Util.FalseFunc,
  card_filter = function(self, to_select, selected)
    return #selected == 0
  end,
  can_use = function(self, player)
    return true
  end,
  on_use = function(self, room, effect)
    local player = room:getPlayerById(effect.from)
    local card = effect.cards
    Est.burnCards(room, player, card)
  end,
}
zhugeliang:addSkill(cheyan)
zhugeliang:addSkill("esttest")

Fk:loadTranslationTable{
  ["wxfire__zhugeliang"] = "诸葛亮",
  ["wxfire__cheyan"] = "掣焱",
}

return extension